<extend name="layouts/master" />
<block name="js">
  <script src="__PUBLIC__/admin/assets/js/view/w_syspath_function.js"></script>
</block>
<block name="main">
  <div class="am-u-sm-8 w_content">
    <header class="hero background-sky">
      <h1 class="hero-title ">网站路径配置<div class="clear">
    </div>
    </header>
    <div class="w_content_nav">
      <ol class="am-breadcrumb w-breadcrumb">
        <li><a href="#" class="am-icon-home">首页</a></li>
        <li><a href="#">分类</a></li>
        <li class="am-active">内容</li>
      </ol>
    </div>
    <div class="w_content_tab">
      <button
        type="button"
        class="am-btn am-btn-danger"
        data-am-modal="{target: '#my-popup'}">
        路径更新
      </button>

      <div style="clear:both"></div>
      <div style="height:20px"></div>
      <table class="am-table am-table-bordered am-table-striped am-table-compact">
        <thead>
        <tr>
          <th>路径名称</th>
          <th>路径地址</th>
          <th>操作</th>
        </tr>
        </thead>
        <tbody>
          <tr>
            <td>Amaze UI</td>
            <td>http://amazeui.org</td>
            <td>2012-10-01</td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>



  <div class="am-popup" id="my-popup">
    <div class="am-popup-inner">
      <div class="am-popup-hd">
        <h4 class="am-popup-title">路径处理 <i class="am-icon-refresh"></i></h4>
      <span data-am-modal-close
        class="am-close">&times;</span>
      </div>
      <div class="am-popup-bd">
        <table class="am-table">
          <thead>
          <tr>
            <th>路径</th>
            <th>名称</th>
            <th>操作</th>
          </tr>
          <script>
              $('.btn-loading-example').click(function () {
                var $btn = $(this)
                $btn.button('更新中');
                setTimeout(function(){
                  $btn.button('reset');
                }, 5000);
              });
          </script>
          </thead>
          <tbody>
          <volist   name="paths" id="list">
            <tr>
              <td>{$list['module']}/{$list['controller']}/{$list['action']}</td>
              <td></td>
              <td><button
                type="button"
                class="am-btn am-btn-success"
                id="doc-prompt-toggle">
                Prompt
              </button></td>
            </tr>
          </volist>

          </tbody>
        </table>
      </div>
    </div>
  </div>




</block>